var express = require('express'),
	cookieParser = require('cookie-parser'),
	router = express.Router(),
    requestConv = require('./base/request-conv'),
    myHaier=require('./my-haier/app'),
    login=require('./login/app'),
    modal=require('./modal/app'),
    personalCenter=require('./personal-center/app'),
    qrCode = require('./qr-code/app'),
    task=require('./task/app');
module.exports = function(app) {
	// 设置 Cookie[1:简体中文,2:繁体中文,3:英文]
	// 初始化中文
	app.use(cookieParser());
    app.use('/request-conv', requestConv);
    app.use('/', myHaier);
    app.use('/login', login);
    app.use('/modal', modal);
    app.use('/personal-center', personalCenter);
    app.use('/task', task);
    app.use('/get-qr-code', qrCode);
};
